﻿<SettingsFlyout
		x:Uid="eLukSettingsID"
    x:Class="eLuk.eLukSettings"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:eLuk"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    IconSource="Assets/SmallLogo.png"
    Title="eLuk - Account Settings"
    d:DesignWidth="346"
		BackClick="SettingsFlyout_BackClick"
		Unloaded="SettingsFlyout_Unloaded"
	>

	<!-- This StackPanel acts as a root panel for vertical layout of the content sections -->
	<StackPanel VerticalAlignment="Stretch" HorizontalAlignment="Stretch" >

		<!-- The StackPanel(s) below define individual content sections -->

		<!-- Content Section 1-->
		<StackPanel Style="{StaticResource SettingsFlyoutSectionStyle}">

			<!-- Section 1 header -->
			<TextBlock Visibility="Visible" Style="{StaticResource  SubtitleTextBlockStyle}" Text="It seems that your account is not yet configured or available on this machine. If you choose opt not enter the information and save the changes, the application will close." Margin="0,0,0,10" />
			<TextBlock Style="{StaticResource  SubtitleTextBlockStyle}" Text="User Name: " Margin="0,0,0,10" />
			<TextBox x:Name="txtUserName" />
			<TextBlock Style="{StaticResource SubtitleTextBlockStyle}" Text="Password: " Margin="0,10,0,10" />
			<PasswordBox x:Name="txtPassword" Margin="0,0,0,10"/>
			<CheckBox x:Name="chkRemember" Content="Remember my password" Margin="0,0,0,10"></CheckBox>
			<Button x:Name="btnUpdateSetting" Content="Set Credentials" Margin="0,0,0,10" Click="btnUpdateSetting_Click"></Button>
			<!-- Section 1 body -->
			<TextBlock Visibility="Collapsed" Style="{StaticResource  SubtitleTextBlockStyle}" Text="Message Store Location: " Margin="0,0,0,10" />
			<StackPanel Orientation="Horizontal" Visibility="Collapsed">
			<TextBox x:Name="txtMessageLocation" Width="210" />
			<Button x:Name="btnBrowse" Content="..." Margin="0,0,0,0"></Button>
			</StackPanel>
			<TextBlock Style="{StaticResource BodyTextBlockStyle}" Margin="0,0,0,25" TextWrapping="Wrap">
				<TextBlock.Text>
					Input user name and password to setup you account for eLuk. Feel free to mark "Remember my password". Password storage is secure and encrypted.
				</TextBlock.Text>
			</TextBlock>

		</StackPanel>

		<!-- Define more Content Sections below as necessary -->

	</StackPanel>
</SettingsFlyout>
